package com.love.rongapi.model.request;

import com.love.rongcommon.base.request.BaseRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class AccessTokenGetRequest extends BaseRequest {

    @NotNull
    @ApiModelProperty(value = "用户编号")
    private Long userId;

    /**
     * 渠道
     */
    @NotNull
    @ApiModelProperty(value = "渠道")
    private Integer source;

    /**
     * 设备ID
     */
    @NotNull
    @ApiModelProperty(value = "设备ID")
    private String deviceId;

}
